package ThreadTest.AccountWithdrawals;

public class MyThread implements Runnable{
    Account a = new Account();

    public MyThread() {
    }

    public MyThread(Account a) {
        this.a = a;
    }

    public void run(){
        a.withdraw(1000);
    }
}
